package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 入驻商
 * </p>
 * @author leo
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_shipment")
@ApiModel(value="Shipment对象", description="入驻商")
public class Shipment extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "入驻商标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "入驻商编码")
    @TableField("party_code")
    private String partyCode;

    @ApiModelProperty(value = "入驻商名称")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "联系人")
    @TableField("contacts")
    private String contacts;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "身份证号")
    @TableField("identification_number")
    private String identificationNumber;

    @ApiModelProperty(value = "法人姓名")
    @TableField("legal_person")
    private String legalPerson;

    @ApiModelProperty(value = "信用代码")
    @TableField("business_license_img_number")
    private String businessLicenseImgNumber;

    @ApiModelProperty(value = "税点")
    @TableField("tax_point")
    private BigDecimal taxPoint;

    @ApiModelProperty(value = "审核状态：0未审核/1审核中/2审核未通过/3审核通过")
    @TableField("auth_status")
    private Integer authStatus;

    @ApiModelProperty(value = "审核时间，修改审核状态时同步修改")
    @TableField("auth_time")
    private LocalDateTime authTime;

    @ApiModelProperty(value = "机构code，对应sys_party_group表code")
    @TableField("branch_code")
    private String branchCode;

    @ApiModelProperty(value = "是否结算：0不结算，1结算")
    @TableField(value = "is_settlement")
    private Integer settlement;

    @ApiModelProperty(value = "备注")
    @TableField(value = "remark")
    private String remark;

    @ApiModelProperty(value = "对接erp")
    @TableField(value = "erp_code")
    private String erpCode;

    @ApiModelProperty(value = "是否复核:0不复核，1复核")
    @TableField("is_review")
    private Integer review;

    @ApiModelProperty(value = "省编码")
    private String provinceCode;

    @ApiModelProperty(value = "市编码")
    private String cityCode;

    @ApiModelProperty(value = "县/区编码")
    private String countyCode;

    @ApiModelProperty(value = "详细地址")
    private String address;



}
